#!/bin/bash

# 设置环境变量
export GOROOT=$PWD/go_golang/go
export GOPATH=$PWD/go_golang/golang
export PATH=$GOROOT/bin:$GOPATH/bin:$PATH 
export GOSUMDB=off
go env -w GO111MODULE=on
go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/,direct
export GOPROXY=https://mirrors.aliyun.com/goproxy/,direct
# 其他脚本逻辑
echo "环境变量已设置并应用"
